package cn.vcjf.washcar.dict.service.impl;

import cn.vcjf.washcar.dict.entity.Dict;
import cn.vcjf.washcar.dict.mapper.DictMapper;
import cn.vcjf.washcar.dict.service.IDictService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zhengzihang
 * @since 2018-07-09
 */
@Service
public class DictServiceImpl extends ServiceImpl<DictMapper, Dict> implements IDictService {

	@Override
	public List<String> getDictTypes() {
		return this.baseMapper.getDictTypes();
	}

	@Override
	public boolean updateOpenId(Dict dict) {
		return baseMapper.updateOpenId(dict);
	}
}
